package com.application.run;

import org.apache.log4j.Logger;
import org.apache.log4j.xml.DOMConfigurator;

import com.application.model.elegircolegio.retrieve.RetrieveColegioElegirColegio;

public class ElegirColegioRunClass {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Logger logger = null;
		try {
			DOMConfigurator.configure("./config/log4j.xml");
			logger = Logger.getLogger(ElegirColegioRunClass.class);
			RetrieveColegioElegirColegio retrieveColegioElegirColegio = new RetrieveColegioElegirColegio();
//			retrieveColegioElegirColegio.retrieve();
			retrieveColegioElegirColegio.saveDataInDataBase();
        } catch (Exception e) {
            logger.error(e);
        }
	}

}
